xen/arm: Stringify the register name in sysreg read write macros
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Wed, 23 Jul 2014 13:41:48 +0000 (19:11 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 3 Sep 2014 11:49:36 +0000 (12:49 +0100)
commit7d725669833a72eadf30bc500c6ede18a52bb057
tree88fff6c2de28bdfe5376912da87ad96a6b161341
parent9facdec620735bbbe677fcdf693b7ff7dcb23cab
xen/arm: Stringify the register name in sysreg read write macros

The register name parameter in {READ,WRITE}_SYSREG{32,64}
macros is replaced as register name in mrs and msr assembly
instruction.

If this register name is macro indirection, the register
name is not replaced with designated macro. So replace the register
name with __stringify macro, which replaces register name
if it is macro

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/include/asm-arm/arm64/processor.h